package com.yunxin.core.customer.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunxin.common.base.BasePageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class RiskGetByUserPageDTO extends BasePageRequest implements Serializable {

    @Schema(description = "客户姓名")
    private String userName;
    @Schema(description = "客户身份证号")
    private String idNumber;
    @Schema(description = "客户手机号")
    private String phoneNumber;

    @Schema(description = "团队id")
    private Integer teamId;

    @Schema(description = "创建开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startCreateTime;
    @Schema(description = "创建结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endCreateTime;

    @Schema(hidden = true)
    private List<Long> createUserIdList;
    @Schema(description = "商户id,只有超级管理员可以选择")
    private Long merchantId;
}
